﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using QLKS2014.PUBLIC;
using QLKS2014.DATA;

namespace QLKS2014.BLL
{
    public class NguoiDungBll
    {
        NguoiDungData nguoiDungData = new NguoiDungData();

        //selectAll
        public List<NguoiDungPublic> selectAll()
        {
            return nguoiDungData.selectAll();
        }

        //selectById
        public List<NguoiDungPublic> selectById(NguoiDungPublic nguoiDungPublic)
        {
            return nguoiDungData.selectById(nguoiDungPublic);
        }

        //selectByName
        public List<NguoiDungPublic> selectByName(NguoiDungPublic nguoiDungPublic)
        {
            return nguoiDungData.selectByName(nguoiDungPublic);
        }
        //Update Password
        public void update(NguoiDungPublic nguoiDungPublic)
        {
            nguoiDungData.update(nguoiDungPublic);
        }
    }
}
